<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"
           %><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"
           %><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"
           %><%@ taglib tagdir="/WEB-INF/tags" prefix="cohesion"
           %><%@ page contentType="text/html;charset=ISO-8859-1"
           %><html:html xhtml="true">
    <head>
        <html:base/>
        <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
        <link rel="stylesheet" type="text/css" href="../css/style2.css"></link>
        <script type="text/JavaScript" src="../scripts/popups.js"></script>
        <script type="text/JavaScript" src="../scripts/RegistrarUsuario.js"></script>
        <title>DDP-Online - <bean:message key="V_RegistrarUsuario.title"/></title>
    </head>
    <body onload="alertas('${empty msg ? "" : msg}')">
        <div id="wrapper">
            <div id="header"></div>
            <%@ include file="../includes/includeMenuDDP.jsp" %>
            <div id="page">
                <div id="content">
                    <h2><bean:message key="V_RegistrarUsuario.title"/></h2>
                    ${empty msg ? "" : msg}
                    <div id="modificar_perfil">
                        <html:form action="/A_RegistrarUsuario.do" method="post" onsubmit="return camposLlenos_RegistrarUsuario()">
                            <p>
                                <label for="637105"><bean:message key="F_RegistroUsuario.label0"/><%-- Nombre Completo del Usuario --%></label>
                                <html:text styleId="637105" property="nombreCompleto" size="30"/>
                            </p>
                            <p>
                                <label for="642423"><bean:message key="F_RegistroUsuario.label1"/><%-- e-mail --%></label>
                                <html:text styleId="642423" property="correo" size="30" onchange="return ValidateForm(document.getElementById('642423'))"/></p>
                            <p>
                                <label for="642426"><bean:message key="F_RegistroUsuario.label2"/><%-- Nombre de Usuario --%></label>
                                <html:text styleId="642426" property="userLogin" size="30"/></p>
                            <p>
                                <label for="642429"><bean:message key="F_RegistroUsuario.label3"/><%-- Tipo de Usuario --%></label>
                                <html:select  styleId="642429" property="tipoUsuario" size="1">
                                    <html:option value="0">Seleccione</html:option>
                                    <html:option value="2">Director</html:option>
                                    <html:option value="4">Encargado PAA</html:option>
                                    <html:option value="8">Encargado PAI</html:option>
                                    <html:option value="16">Encargado PAS</html:option>
                                    <html:option value="32">Encargado PRD</html:option>
                                </html:select>
                            </p>
                            <p>
                                <html:submit styleClass="button"><bean:message key="V_RegistrarUsuario.label0"/><%-- Registrar --%></html:submit>
                                &nbsp;
                                <cohesion:actor actors="62">
                                    <html:link action="/A_Pre_ManejoGeneral.do">Cancelar</html:link>
                                </cohesion:actor>
                            </p>
                        </html:form>
                    </div>
                </div>
                <%@ include file="../includes/includeSidebarDDP.jsp" %>
            </div>
            <%@ include file="../includes/includeFooter.jsp" %>
        </div>
    </body>
</html:html>